﻿// Decompiled with JetBrains decompiler
// Type: Helpers.DialogHelper
// Assembly: TaleWorlds.CampaignSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E85F8C15-4DF6-4E9C-A58A-29177E40D07A
// Assembly location: D:\steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.CampaignSystem.dll

using TaleWorlds.CampaignSystem;
using TaleWorlds.Localization;

#nullable disable
namespace Helpers
{
  public static class DialogHelper
  {
    public static void SetDialogString(string stringVariable, string gameTextId)
    {
      MBTextManager.SetTextVariable(stringVariable, Campaign.Current.ConversationManager.FindMatchingTextOrNull(gameTextId, CharacterObject.OneToOneConversationCharacter), false);
    }
  }
}
